import http from "@/utils/http";
const prefixUrl = {
  quertyIncomeSearchDicts: "/analysis/transaction-detail/filter-data",
  queryIncomeList: "/analysis/transaction-detail/income-record",
  queryIncomeDetail: "/analysis/transaction-detail/income-record-info",
  queryPaySearchDicts: "/analysis/transaction-detail/expenditures-filter-data",
  queryPayList: "/analysis/transaction-detail/expenditures-record",
  queryPayDetail: "/analysis/transaction-detail/expenditures-record-info",
};
export default {
  role: {
    quertyIncomeSearchDicts: "POST:" + prefixUrl.quertyIncomeSearchDicts,
    queryIncomeList: "POST:" + prefixUrl.queryIncomeList,
    queryIncomeDetail: "POST:" + prefixUrl.queryIncomeDetail,
    queryPaySearchDicts: "POST:" + prefixUrl.queryPaySearchDicts,
    queryPayList: "POST:" + prefixUrl.queryPayList,
    queryPayDetail: "POST:" + prefixUrl.queryPayDetail,
  },
  quertyIncomeSearchDicts(params = {}) {
    return http.post(prefixUrl.quertyIncomeSearchDicts, params);
  },
  queryIncomeList(params = {}) {
    return http.post(prefixUrl.queryIncomeList, params);
  },
  queryIncomeDetail(params = {}) {
    return http.post(prefixUrl.queryIncomeDetail, params);
  },
  queryPaySearchDicts(params = {}) {
    return http.post(prefixUrl.queryPaySearchDicts, params);
  },
  queryPayList(params = {}) {
    return http.post(prefixUrl.queryPayList, params);
  },
  queryPayDetail(params = {}) {
    return http.post(prefixUrl.queryPayDetail, params);
  },
};
